Add SIP Trunk Connection

The figure below shows the template for creating a SIP connection to a PSTN SIP trunk.

Do the following:
1. In the Navigation pane, select SIP Connection, and then select the SIP Connection tab.
2. From the Add SIP Connection drop-down, choose PSTN.

3. Configure parameters according to the table below.

Parameter

Description

Name

Name of the SIP connection.

Customer

Customer

Calling Profile

Calling Profile attached to the connection.

Carrier Registration

This option is only relevant if you are connecting your Carrier to a SIP Trunk (when SBC Onboarding script configures SIP Trunk or BYOC). The selected carrier binds to the configured SIP Interface, Proxy Set and IP Profile on the SBC (where the same name is configured for all three entities on the SBC).

Select this option to perform SIP Account Registration for the Carrier trunk:

Username: Defines the digest MD5 Authentication username. The valid value is a string of up to 60 characters. By default, no value is defined.
Password: Defines the digest MD5 Authentication password. The valid value is a string of up to 50 characters. Note: The password cannot be configured with wide characters.
MainLine (Contact User): Defines the AOR username. This appears in REGISTER From/To headers as ContactUser@HostName
Host Name: Defines the Address of Record (AOR) host name. The host name appears in SIP REGISTER From/To headers as ContactUser@HostName.

Enable CAC

Indicates whether Call Admission Control is enable for the connection.

This field is enabled when enabled in the attached SBC Onboarding script (see below).

Metering Type

Default: Session by Tag.

Metering Tag

Name of the metering tag.

Comments

Free text comments regarding the tag.

SBC Onboarding script

Name of the applied SBC Onboarding script.

SBC Cleanup script

Name of the applied SBC Cleanup script.

Customer Variables

SIP Connection IP /FQDN

IP address or FQDN of the SBC device where the connection (IP Group) is configured.

SIP Connection port

Port of the SBC device where the connection (IP Group) is configured.

Transport type

One of the following values:

UDP
TCP
TLS

Media security

One of the following values:

Secure
Insecure

SIP Group Name

The host name of the device which is used to overwrite the original host part of the URI in certain SIP headers for the purpose of Topology hiding in the SIP messages.

Toggle between Onboarding and Cleanup scripts.

Toggles between the Onboarding and Cleanup scripts.

See 'LiveCX-Add-PSTN-side' script below.

Copy
#Main#
configure network
 access-list new
   source-ip "{TrunkIP}"
   prefixLen 32
   description "{TrunkName}-{CustomerName}-cx-itsp"
   use-specific-interface enable
   network-interface-name "eth0"
   activate
 exit
exit

configure voip
proxy-set new
  proxy-name "{TrunkName}-{CustomerName}-cx-itsp"
  proxy-enable-keep-alive using-options
  is-proxy-hot-swap enable
  srd-name "DefaultSRD"
  sbcipv4-sip-int-name "SIPTrunk"
  activate
  proxy-ip 0
    proxy-address "{TrunkIP}:{Port}"
    transport-type "{TransportType}"
    activate
    exit
  exit

ip-group new
  name "{TrunkName}-{CustomerName}-c"
  proxy-set-name "{TrunkName}-{CustomerName}-cx-itsp"
  ip-profile-name "{IpProfile}"
  tags "Trunk={CID};MeteringTag={MeteringTag}"
  classify-by-proxy-set disable
  call-setup-rules-set-id 13
  activate
exit
{Registration}
exit
do write
#end#
#Registration#
sip-definition account new
   account-name "{TrunkName}-{CustomerName}"
   served-ip-group-name "{AssociatedTrunk}-{CustomerName}-t"
   serving-ip-group-name "{TrunkName}-{CustomerName}-c"
   user-name "{Reg_Username}"
   password "{Reg_Password}" 
   host-name "{Reg_Host}"
   contact-user "{Reg_Mainline}"
   register reg
   application-type sbc
   activate
  exit
#end#